package com.itboye.core.utils;

/**
 * {@link} 2016-08-12
 * 
 * @author 定义一个枚举传cate参数
 * @author NEWS 新闻动态
 * @author HEZUO四方合作
 * @author PERSONNEL 人才推荐
 * @author PRACTICE 实践基地
 * @author COOPERATION 合作成果
 * @author Notice 公告
 * @author LISHIZ 理事长
 * @author FULISHIZ 副理事长
 * @author CHANGWULISHIZ 常务理事长
 * @author ENTERPRISEINFORMATION 企业信息
 * @author employment 就业
 * @author PROJECT 项目
 */
public enum EnumUtility {

	NEWS(6081), HEZUO(6101), PERSONNEL(6106), PRACTICE(6104), COOPERATION(6103), 
	ENTERPRISEINFORMATION(6102), NOTICE(6054), LISHIZ(6107), CHANGWULISHIZ(6108), FULISHIZ(6109),PHOTO(6110) {
		@Override
		public boolean isRest() {
			return true;
		}
	},
	SUN(0) {
		@Override
		public boolean isRest() {
			return true;
		}
	};

	private int value;

	private EnumUtility(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public boolean isRest() {
		return false;
	}

}
